<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is index page">
<title>浙江在线保险网</title>
<style type="text/css">
<!--
.nav11 {font-size:14px; font-weight:bold; color:#FFF;}
.nav12 {font-size:13px; color: #666;}
.lid {font-size:12px; color: #FFF;}
.wb {font-size:16px; font-weight:bold; font-style:oblique; color: #FF9307;}
.wb2 {font-size:15px; color: #535353;}
.wb3 {font-size:12px; color: #A8A8A8;}
.wb4 {font-size:14px; color: #666;}
.but {font-size:14px;color: #FFF;background-repeat: no-repeat;}
.b1 {font-size:15px; font-family:"黑体", "微软雅黑"; color: #535353;}
.b2 {font-size:14px; color: #999;}
.h {font-size:15px; font-family:"黑体", "微软雅黑"; color: #F35300;}
.h2 {border-bottom:#999 1px dotted;}
.h3 {font-size:13px; font-family:"黑体", "微软雅黑"; color: #666;}
.h4 {font-size:13px; font-family:"黑体", "微软雅黑"; color:#FFF;}
.h5 {font-size:13px; font-family:"黑体", "微软雅黑"; color: #F35300;}
.h6 {font-size:13px; color: #666;}
.h7 {font-size:15px; font-family:"黑体", "微软雅黑"; font-weight:bold; color: #535353;}
.h8 {font-size:15px; font-family:"黑体", "微软雅黑"; font-weight:bold; font-style:oblique; color: #F30;}
.h9 {font-size:15px; font-family:"黑体", "微软雅黑"; font-weight:bold; color: #3B9388;}
-->
</style>
</head>

<body>
<div style="width:903px; margin:46px auto;"> 
 <div style="width:903px; height:52px;">
  <div style="width:126px; height:52px; overflow:hidden; float:left;"><img src="<%=request.getContextPath()%>/images/1.jpg"  /></div>
  <div style="width:764px; height:52px; overflow:hidden; margin-left:10px; float:left;"><img src="<%=request.getContextPath()%>/images/2.jpg" width="765" /></div>
 </div>
 <div class="nav11" style="width:893px; height:33px; line-height:33px; padding-left:10px; overflow:hidden; background-repeat:no-repeat; background-image:url(<%=request.getContextPath()%>/images/3.jpg); float:left;">
 <a href ="<%=request.getContextPath()%>/home/index!index.do">首页</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/question/indexQuestion!index.do" target="_blank">问吧</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/product/indexProduct!index.do" target="_blank">保险产品</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/agent/indexAgent!index.do" target="_blank">找营销员</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/caze/indexCaze!index.do" target="_blank">保险案例</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/agent/loginAgent!loginUI.do" target="_blank">营销员专区</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/user/loginUser!loginUI.do" target="_blank">用户登录</a>
 </div>
 <div class="nav12" style="width:873px; height:28px; line-height:28px; padding-left:30px; background-image:url(<%=request.getContextPath()%>/images/4.jpg); overflow:hidden; float:left;">
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=0 " target="_blank">重大疾病</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=1 " target="_blank">商业医疗</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=2 " target="_blank">商业养老</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=3 " target="_blank">分红保险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=4 " target="_blank">万能保险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=5 " target="_blank">投资连结</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=6 " target="_blank">少儿保险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=7 " target="_blank">女性保险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=8 " target="_blank">旅游保险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=9 " target="_blank">定期寿险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=10" target="_blank">终身寿险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=11" target="_blank">意外保险</a></div>


<div class="nav12" style="width:903px; overflow:hidden; float:left;">
 <div class="nav12" style="width:632px; overflow:hidden; float:left;">
  <div class="wb" style="width:622px; height:26px; line-height:26px; margin-top:15px; padding-left:10px; background-color:#FFE3A9; float:left;">问吧</div>
  <div style="width:620px;height:10px; margin-top:10px; margin-left:5px; background-image:url(<%=request.getContextPath()%>/images/41.jpg); background-repeat:no-repeat; float:left; overflow:hidden;"></div>
  <div style="width:620px;height:103px; margin-left:5px; background-image:url(<%=request.getContextPath()%>/images/42.jpg);  float:left; overflow:hidden;">
   <div style="width:622px;height:49px; float:left; overflow:hidden;">
    <div style="width:64px; height:49px; float:left; padding-left:9px; overflow:hidden;"><img src="<%=request.getContextPath()%>/images/43.jpg"  /></div> 
    <div style="width:540px; height:49px; float:left; overflow:hidden;">
     <div class="wb2" style="width:540px; height:30px; line-height:30px; float:left; overflow:hidden;"><s:property value="%{question.questionName}"/></div> 
     <div class="wb3" style="width:540px; height:18px; line-height:18px; float:left; overflow:hidden;"><s:hidden value="%{question.id}"/></div> 
    </div>
   </div>
    <div style="width:574px;height:8px; float:left; overflow:hidden; margin-left:24px; margin-right:24px; border-bottom:#999 1px dotted;"></div>
    <div style="width:574px;height:18px; float:left; overflow:hidden; margin-left:24px; margin-right:24px; margin-top:10px;"><s:property value="%{question.content}"/></div>
  </div>
  <div style="width:622px; height:3px; margin-left:5px; background-image:url(<%=request.getContextPath()%>/images/44.jpg);  float:left; overflow:hidden;"></div>
  <div style="width:620px;height:53px; margin-left:5px; background-image:url(<%=request.getContextPath()%>/images/45.jpg);  float:left; overflow:hidden;">
   <div class="h5" style="width:592px; height:17px; line-height:17px; margin-top:6px; padding-left:32px; float:left;">详细投保资料</div>
   <div class="nav12" style="width:592px; height:17px; line-height:17px; margin-top:6px; padding-left:32px; float:left;">保障对象</div>
  </div>
  <div style="width:622px;height:5px; margin-left:5px; background-image:url(<%=request.getContextPath()%>/images/46.jpg);  float:left; overflow:hidden;"></div>
  <div style="width:620px;height:40px; margin-left:5px; background-image:url(<%=request.getContextPath()%>/images/42.jpg);  float:left; overflow:hidden;">
   <div style="width:191px; height:19px; line-height:19px; margin-top:10px; padding-left:431px; float:left; overflow:hidden;"><span class="wb6"> &nbsp;&nbsp;&nbsp;&nbsp;   &nbsp;&nbsp;&nbsp;&nbsp;  </span> <span class="wb3"></span></div>
  </div>
  <div style="width:622px;height:10px; margin-left:5px; background-image:url(<%=request.getContextPath()%>/images/47.jpg); background-repeat:no-repeat; float:left; overflow:hidden;"></div>
  <div style="width:620px; height:2px; margin-left:5px; margin-top:10px; background-image:url(<%=request.getContextPath()%>/images/48.jpg); float:left; overflow:hidden;"></div>
  <div style="width:620px;height:28px; line-height:28px; margin-left:5px; background-image:url(<%=request.getContextPath()%>/images/49.jpg); float:left; overflow:hidden;">&nbsp;&nbsp;&nbsp;&nbsp;<span class="wb7">回答</span></div> 
  
  <s:iterator value="replys">
  <div style="width:620px; height:200px; margin-left:5px; background-image:url(<%=request.getContextPath()%>/images/50.jpg); float:left; overflow:hidden;">
   <div style="width:98px; height:170px; float:left; overflow:hidden;">
    <div style="width:81px; height:90px; margin-top:10px; margin-left:10px; float:left; background-color:#CCC; overflow:hidden;"></div>
    <div style="width:56px; height:16px; line-height:16px; padding-left:25px; margin-top:10px; margin-left:10px; float:left; overflow:hidden;"><s:property value="userName" /></div>
    <div class="wb3" style="width:80px; height:16px; line-height:16px; margin-left:10px; margin-top:3px; float:left; overflow:hidden;"><s:date name="replyTime" format="yyyy-MM-dd"/></div>
   </div>
   <div style="width:520px; height:170px; float:left; overflow:hidden;">
    <div style="width:500px; height:150px; line-height:20px; margin-top:10px; padding-left:10px; float:left; overflow:hidden;"></div>
      <div class="h9" style="width:450px; height:20px; margin-top:10px; margin-left:10px; float:left;  overflow:hidden;"><s:property value="replyName"/></div>
      <div style="width:450px;  margin-top:10px; margin-left:10px; float:left;  overflow:hidden;"><s:property value="content" /></div>
   </div>
   <div style="width:585px; height:16px; margin-left:10px; float:left; overflow:hidden; border-bottom:#999 1px dotted;"></div>
  </div>
  <div style="width:620px; height:7px; margin-left:5px; background-image:url(<%=request.getContextPath()%>/images/52.jpg); float:left; overflow:hidden;"></div>
  </s:iterator>
  
  <div style="width:620px; height:20px; margin-left:5px; margin-top:10px; float:left; overflow:hidden;"></div>
  <div style="width:624px; margin-top:15px; float:left;">
   <table width="626" height="21px" border="0">
     <tr>
       <td width="104" rowspan="2" class="h">&gt;&gt;活跃营销员</td>
       <td width="453" class="h2">&nbsp;</td>
       <td width="55" rowspan="2" class="h3"><a href ="<%=request.getContextPath()%>/agent/indexAgent!index.do" target="_blank">【更多】</a></td>
     </tr>
     <tr>
       <td>&nbsp;</td>
     </tr>
   </table>
 </div>
 <div style="width:624px; float:left; margin:10px 0px 0px 0px;">
  <s:iterator value="agents">
  <a href="<%=request.getContextPath()%>/agent/showAgent!show.do?id=<s:property value ='id'/>">
  <s:property value="name"/></a>
  <div style="width:80px; height:95px; float:left; margin:0px 0px 0px 10px;"><img src="<%=request.getContextPath()%>/images/28.jpg" width="80" height="95"  /></div>
  </s:iterator>
 </div>
 <div style="width:624px; float:left; margin:10px 0px 0px 0px;"></div>
 <div style="width:620px; height:2px; margin-left:5px; margin-top:10px; background-image:url(images/48.jpg); float:left; overflow:hidden;"></div>
 <div style="width:620px;height:28px; line-height:28px; margin-left:5px; background-image:url(images/49.jpg); float:left; overflow:hidden;">&nbsp;&nbsp;&nbsp;&nbsp;<span class="wb7">回答</span></div> 
 <div style="width:620px; height:100px; margin-left:5px; background-image:url(images/50.jpg); float:left; overflow:hidden;">
   <div class="h3" style="width:500px; height:28px; margin-top:25px; padding-left:120px; float:left; overflow:hidden;">回答问题，请先登录！ <span class="h9">[登录] [注册]</span></div>
 </div>
 <div style="width:620px; height:7px; margin-left:5px; background-image:url(images/52.jpg); float:left; overflow:hidden;"></div>
 </div> 
 <div style="width:265px; margin-top:15px; float:left;">
     <div style="width:265px; height:26px; float:left;"><img src="images/25.jpg" width="267" height="27"  /></div>
     <div class="b1" style="width:245px; height:29px; line-height:29px; padding-left:10px; background-image:url(images/24.jpg); margin:10px 0px 0px 5px; float:left;">免费在线咨询</div>
     <div style="width:245px; margin-left:5px; float:left;">
      <div style="width:89px; height:93px; float:left; margin-left:22px; margin-top:10px; background-color:#CCC;"></div>
      <div style="width:120px; height:93px; float:left; margin-left:10px; margin-top:10px;">
       <div style="width:56px; height:16px; line-height:16px; padding-left:25px; margin-top:10px; margin-left:10px; float:left; overflow:hidden;">周航</div>
    <div class="wb3" style="width:80px; height:16px; line-height:16px; margin-left:10px; margin-top:3px; float:left; overflow:hidden;">杭州 平安保险</div>
      </div>
    </div>
 </div>
</div> 
<div style="width:632px; margin-top: 15px;">

 
  		<table bgcolor="gray">
   		<tr><td>标题:</td></tr>
   		<s:hidden value="%{question.id}"/>
   		<tr><td>提问时间</td><td><s:textfield value="%{question.questionName}" size="120" readonly="true"/></td></tr>
  		<tr><td>提问人:</td><td><s:property value="%{question.userName}"/></td></tr>
  		<tr><td>内容:</td><td><s:textarea value="%{question.content}" cols="100" rows="5" readonly="true"/></td></tr>
  		</table>
  		
  		<table bgcolor="pink">
  		<s:iterator value="replys">
  		<tr><td>标题</td><td><s:property value="replyName"/></td></tr>
  		 <tr><td>内容</td><td><s:property value="content" /></td></tr>
  		 <tr><td>回复人</td><td><s:property value="userName" /></td></tr>
  		 <tr><td>回复时间</td><td><s:date name="replyTime" format="yyyy-MM-dd"/>
  		 <s:property value="replyTime" /></td></tr>
  		</s:iterator>
  		</table>
  		
  		<s:form action="add" namespace="/reply">
  		 <table border="0">
  		 <tr><td>标题:</td><td><s:textfield name="reply.replyName" size="120" /></td></tr>
  		 <s:hidden name="reply.questionId" value="%{question.id}"/>
  		<tr><td>内容:</td><td><s:textarea name="reply.content" cols="100" rows="5" /></td></tr>
  		<tr><td colspan="2" align="right"><input type="submit" value="回复"/></td></tr>
  		</table>
  		</s:form>
  		
  </body>
</html>
